package cn.microservices.cloud.gateway.exceptions;


import lombok.Data;
import reactor.core.publisher.Mono;

/**
 * @Description 抛出已知 运行时错误统一处理
 * @ClassName KnowExeptions
 * @Auhor huangyangfeng
 * @Date 2019-08-20 16:35
 * @Version 1.0
 */
@Data
public class BusinessException extends RuntimeException {

    private Mono mono;


    public BusinessException(Mono mono) {
        this.mono = mono;
    }



}
